package com.example.blog.common.constant;

public interface Permissions {
    
    // 用户管理权限
    String USER_VIEW = "user:view";
    String USER_CREATE = "user:create";
    String USER_UPDATE = "user:update";
    String USER_DELETE = "user:delete";
    
    // 角色管理权限
    String ROLE_VIEW = "role:view";
    String ROLE_CREATE = "role:create";
    String ROLE_UPDATE = "role:update";
    String ROLE_DELETE = "role:delete";
    
    // 文章管理权限
    String ARTICLE_VIEW = "article:view";
    String ARTICLE_CREATE = "article:create";
    String ARTICLE_UPDATE = "article:update";
    String ARTICLE_DELETE = "article:delete";
    String ARTICLE_PUBLISH = "article:publish";
    
    // 评论管理权限
    String COMMENT_VIEW = "comment:view";
    String COMMENT_CREATE = "comment:create";
    String COMMENT_UPDATE = "comment:update";
    String COMMENT_DELETE = "comment:delete";
    
    // 分类管理权限
    String CATEGORY_VIEW = "category:view";
    String CATEGORY_CREATE = "category:create";
    String CATEGORY_UPDATE = "category:update";
    String CATEGORY_DELETE = "category:delete";
    
    // 标签管理权限
    String TAG_VIEW = "tag:view";
    String TAG_CREATE = "tag:create";
    String TAG_UPDATE = "tag:update";
    String TAG_DELETE = "tag:delete";
    
    // 系统管理权限
    String SYSTEM_VIEW = "system:view";
    String SYSTEM_UPDATE = "system:update";
    String LOG_VIEW = "log:view";
    String LOG_DELETE = "log:delete";
} 